package com.cgmnx.admin.common.exception;


public class ServiceException extends CgmnxException {

    private int errorCode;

    public ServiceException(int errorCode, String errorMes) {
        super(errorMes);
        this.errorCode = errorCode;
    }

    public ServiceException(String errorMes) {
        super(errorMes);
    }

    public ServiceException(Throwable cause) {
        super(cause);
    }

    public ServiceException(Throwable cause, int errorCode, String errorMes) {
        super(errorMes, cause);
        this.errorCode = errorCode;
    }

    @Override
    public Throwable fillInStackTrace() {
        return super.fillInStackTrace();
    }

}
